package com.hexb.smh.mapper;

import com.hexb.smh.entity.Config;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author : hexb
 */
@Mapper
@Repository
public interface ConfigMapper {

    int saveOrUpdate(Config config);

    List<Config> read();

    int saveBatch(List<Config> config);


}
